import 'package:easy_localization/easy_localization_delegate.dart';
import 'package:flutter/material.dart';

class AboutPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(AppLocalizations.of(context).tr('about')),
        centerTitle: true,
        elevation: 0.0,
        backgroundColor: Color(0xff6994bd),
      ),
      body: Center(
        child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 12.0),
          child: Column(
            // mainAxisSize: MainAxisSize.min,
//            crossAxisAlignment: CrossAxisAlignment.start,
            children: <Widget>[
              Padding(
                  padding: EdgeInsets.only(bottom: 88.0, top: 40.0),
                  child:
                      Image.asset('assets/images/app_icon.png', width: 80.0)),
              Text(
                AppLocalizations.of(context).tr('description'),
                style: TextStyle(fontSize: 16.0),
              ),
              SizedBox(height: 30.0),
              Text('version 1.0.0')
            ],
          ),
        ),
      ),
    );
  }
}
